dvb_dev_dmx_set_pesfilter

@brief Start a filter for a MPEG-TS Packetized Elementary Stream (PES) @ingroup dvb_device

@param open_dev Points to the struct dvb_open_descriptor @param pid Program ID to filter. Use 0x2000 to select all PIDs @param type type of the PID (DMX_PES_VIDEO, DMX_PES_AUDIO, DMX_PES_OTHER, etc). @param output Where the data will be output (DMX_OUT_TS_TAP, DMX_OUT_DECODER, etc). @param buffersize Size of the buffer to be allocated to store the filtered data.

This is a wrapper function for DMX_SET_PES_FILTER and DMX_SET_BUFFER_SIZE ioctls.

See http://linuxtv.org/downloads/v4l-dvb-apis/dvb_demux.html for more details.

@return Retuns zero on success, -1 otherwise.

@note valid only for DVB_DEVICE_DEMUX.

extern (C)
int
dvb_dev_dmx_set_pesfilter

Meta